home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / intrvews / xgrab.lha / xgrab / ui / winview.c < prev   
Encoding:
C/C++ Source or Header  |  1990-03-07  |  976 b   |  47 lines

  1. /**
  2.    GRAB Graph Layout and Browser System
  3.  
  4.    Copyright (c) 1989, Tera Computer Company
  5.  **/
  6.  
  7. /* Implementation of most of the xgrab window */
  8.  
  9. #include "winview.h"
  10. #include "graph.h"
  11. #include "gview.h"
  12. #include "bview.h"
  13. #include "tview.h"
  14. #include <InterViews/shape.h>
  15. #include <InterViews/sensor.h>
  16. #include <InterViews/banner.h>
  17. #include <InterViews/border.h>
  18. #include <InterViews/box.h>
  19. #include <InterViews/button.h>
  20. #include <InterViews/frame.h>
  21. #include <InterViews/glue.h>
  22. #include <InterViews/menu.h>
  23. #include <InterViews/panner.h>
  24. #include <InterViews/scroller.h>
  25. #include <InterViews/tray.h>
  26. #include <InterViews/viewport.h>
  27. #include <string.h>
  28.  
  29. GrabWindow::GrabWindow (GView* g, TextView* t) 
  30. {
  31.     gview = g;
  32.     bview = new ButtonView();
  33.     tview = t;
  34.     Init();
  35. }
  36.  
  37. void GrabWindow::Init () 
  38. {
  39.     Insert(tview);
  40.     Insert(new HBorder);
  41.     Insert(bview);
  42.     Insert(new HBorder);
  43.     Insert(gview);
  44.     SetClassName("GrabWindow");
  45.     Propagate(false);
  46. }
  47.